package com.skyeye.rest.erp.rest;

import com.skyeye.common.client.ClientConfiguration;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "${webroot.skyeye-erp}", configuration = ClientConfiguration.class)
public interface IFarmStaffRest {

    /**
     * 查询临时员工的工位
     *
     */
    @PostMapping("/queryStaffByFarmId")
    String queryStaffByFarmId(@RequestParam("farmId") String farmId);
}
